Skip to content

bump rust edition to 2024#59

Merged
Panaetius merged 1 commit into
mainfrom
rust-2024
Mar 10, 2026
Merged

bump rust edition to 2024#59
Panaetius merged 1 commit into
mainfrom
rust-2024

Conversation

@Panaetius
Copy link
Copy Markdown
Member

note that env::set_var and env::remove_var are unsafe in rust 2024, not because of Rust, but because the underlying Posix implementation is unsafe (so it's already unsafe in rust 2021, just not marked as such).

The whole code for setting log env var is weird anyways, since we already used env_logger which has config for setting the log level. I've switched to using that and also using clap-verbosity-flag which is purpose built by the clap devs for handling -v in conjuction with env_logger.

renamed gen to generator since gen is now a reserved keyword (for gen fn iterator functions, like python iterator functions with yield).

I also fixed the one warning that clippy spits out, maybe we should not deny warnings in

cargoClippyExtraArgs = "--features user-doc --all-targets -- --deny warnings";
since there aren't any right now and having them fail CI is the best way to keep it that way.

@Panaetius Panaetius merged commit f28096e into main Mar 10, 2026
5 checks passed
@Panaetius Panaetius deleted the rust-2024 branch March 10, 2026 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants